package com.jo.advisor;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 扩充advisor，表示哪个对象有哪些拦截器，
 * @author Jo
 * @date 2018/1/25
 */
@Getter
@Setter
public class AdvisedSupport  {

    private List<Advisor> advisors;

    private TargetSource targetSource;

    public void addAdvisor(Advisor advisor){
        this.advisors.add(advisor);
    }
}
